// internal/model/hospital.go
package model

import "time"

type Hospital struct {
	ID           uint   `gorm:"primaryKey"`
	HospitalCode string `gorm:"size:20;index"`
	HospitalName string `gorm:"size:50"`
	DelFlag      string `gorm:"size:1;default:N"`
	AppID        string `gorm:"size:64"`
	AppSecret    string `gorm:"size:64"`
	CreateTime   time.Time
	CreateUser   uint
	UpdateTime   time.Time
	UpdateUser   uint
}

func (Hospital) TableName() string {
	return "t_hospital"
}
